package club.pchome.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "接口返回结果集", description = "接口统一返回实体")
@Data
public class User {
    @ApiModelProperty(value = "id", example = "1")
    private Long id;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "登录名")
    private String loginName;
    @ApiModelProperty(value = "密码")
    private String passwd;
    @ApiModelProperty(value = "登录IP地址")
    private String loginIp;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "设备")
    private String device;
    @ApiModelProperty(value = "账号状态", example = "0")
    private Integer isEnable;
    @ApiModelProperty(value = "唯一识别码")
    private String uid;
}